package sample.templates;

import java.util.Enumeration;

public class DynaTrash {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		TypeMap bin = new TypeMap();
		try {
			parseTrash.fillBin("Trash.dat", bin.filler());
		} catch (Exception e) {
			e.printStackTrace();
		}

		Enumeration keys = bin.keys();
		while (keys.hasMoreElements()) {
			Trash.sumValue(bin.get((Class) keys.nextElement()));
		}
	}

}
